package de.wz.schwimmen;

public class StaticDataStorage {
	public final static int[] CHECK_BOX_PLAYER = {
		R.id.checkBoxPresencePlayer1, R.id.checkBoxPresencePlayer2, R.id.checkBoxPresencePlayer3, R.id.checkBoxPresencePlayer4
	};

	public final static int[][] TOGGLE_BUTTONS_PLAYER = {
		{R.id.toggleButtonPlayer1Rank1, R.id.toggleButtonPlayer1Rank2, R.id.toggleButtonPlayer1Rank3, R.id.toggleButtonPlayer1Rank4},
		{R.id.toggleButtonPlayer2Rank1, R.id.toggleButtonPlayer2Rank2, R.id.toggleButtonPlayer2Rank3, R.id.toggleButtonPlayer2Rank4},
		{R.id.toggleButtonPlayer3Rank1, R.id.toggleButtonPlayer3Rank2, R.id.toggleButtonPlayer3Rank3, R.id.toggleButtonPlayer3Rank4},
		{R.id.toggleButtonPlayer4Rank1, R.id.toggleButtonPlayer4Rank2, R.id.toggleButtonPlayer4Rank3, R.id.toggleButtonPlayer4Rank4}
	};

	public final static int[][] TOGGLE_BUTTONS_RANK = {
		{R.id.toggleButtonPlayer1Rank1, R.id.toggleButtonPlayer2Rank1, R.id.toggleButtonPlayer3Rank1, R.id.toggleButtonPlayer4Rank1},
		{R.id.toggleButtonPlayer1Rank2, R.id.toggleButtonPlayer2Rank2, R.id.toggleButtonPlayer3Rank2, R.id.toggleButtonPlayer4Rank2},
		{R.id.toggleButtonPlayer1Rank3, R.id.toggleButtonPlayer2Rank3, R.id.toggleButtonPlayer3Rank3, R.id.toggleButtonPlayer4Rank3},
		{R.id.toggleButtonPlayer1Rank4, R.id.toggleButtonPlayer2Rank4, R.id.toggleButtonPlayer3Rank4, R.id.toggleButtonPlayer4Rank4}
	};

	public final static int[] LABEL_RANK = {
		R.string.label_rank1, R.string.label_rank2, R.string.label_rank3, R.string.label_rank4
	};

	public final static int[] LABEL_NAME = {
		R.string.player1_name, R.string.player2_name, R.string.player3_name, R.string.player4_name
	};

	public final static int[] TEXT_VIEW_NAME = {
		R.id.textViewPlayer1, R.id.textViewPlayer2, R.id.textViewPlayer3, R.id.textViewPlayer4
	};

	public final static int[][] TEXT_VIEW_COUNT = {
		{R.id.textViewCountPlayer1Rank1, R.id.textViewCountPlayer1Rank2, R.id.textViewCountPlayer1Rank3, R.id.textViewCountPlayer1Rank4},
		{R.id.textViewCountPlayer2Rank1, R.id.textViewCountPlayer2Rank2, R.id.textViewCountPlayer2Rank3, R.id.textViewCountPlayer2Rank4},
		{R.id.textViewCountPlayer3Rank1, R.id.textViewCountPlayer3Rank2, R.id.textViewCountPlayer3Rank3, R.id.textViewCountPlayer3Rank4},
		{R.id.textViewCountPlayer4Rank1, R.id.textViewCountPlayer4Rank2, R.id.textViewCountPlayer4Rank3, R.id.textViewCountPlayer4Rank4}
	};

	public final static int[] TEXT_VIEW_SUM = {
		R.id.textViewSumPlayer1, R.id.textViewSumPlayer2, R.id.textViewSumPlayer3, R.id.textViewSumPlayer4 
	};

	public final static int[] TEXT_VIEW_OLD_ACC_BALANCE = {
		R.id.textViewAccBalOldPlayer1, R.id.textViewAccBalOldPlayer2, R.id.textViewAccBalOldPlayer3, R.id.textViewAccBalOldPlayer4
	};
	
	public final static int[] TEXT_VIEW_NEW_ACC_BALANCE = {
		R.id.textViewAccBalNewPlayer1, R.id.textViewAccBalNewPlayer2, R.id.textViewAccBalNewPlayer3, R.id.textViewAccBalNewPlayer4
	};
	
	public final static int[] TEXT_VIEW_AMOUNT = {
		R.id.textViewAmountPlayer1, R.id.textViewAmountPlayer2, R.id.textViewAmountPlayer3, R.id.textViewAmountPlayer4
	};
	
	public final static int[] TEXT_VIEW_PAYMENT = {
		R.id.textViewPaymentPlayer1, R.id.textViewPaymentPlayer2, R.id.textViewPaymentPlayer3, R.id.textViewPaymentPlayer4
	};

	public final static int[] EDIT_TEXT_PAYMENT = {
		R.id.editTextPaymentPlayer1, R.id.editTextPaymentPlayer2, R.id.editTextPaymentPlayer3, R.id.editTextPaymentPlayer4
	};

	public final static int[][] ALLOWED_RANKING_4PLAYER = {
		{4, 0, 0, 0},
		{3, 0, 0, 1},
		{2, 0, 2, 0}, {2, 0, 1, 1},
		{1, 3, 0, 0}, {1, 2, 0, 1}, {1, 1, 2, 0}, {1, 1, 1, 1}, {1, 0, 0, 3}
	};

	public final static int[][] ALLOWED_RANKING_3PLAYER = {
		{3, 0, 0},
		{2, 0, 1},
		{1, 2, 0}, {1, 1, 1}, {1, 0, 2}
	};
}
